package com.huicoo.forestmanager.ui.login.contract;

import com.huicoo.forestmanager.base.BasePresenter;
import com.huicoo.forestmanager.network.bean.login.LoginResData;

import retrofit2.Call;

public interface LoginContract {
    interface View {
        void loginSuccess();

        void loginFail(String msg);
    }

    interface Presenter extends BasePresenter {
        void login(String account, String password);
    }

    interface Model {
        Call<LoginResData> login(String account, String password);
    }
}
